import{d as c,M as V,a9 as f,s as y,b as n,o as d,a as u,f as s,t as _,u as e,F as m,e as b,v as g,aL as i,g as $}from"./DrFvzlh8agutd.js";import{_ as k}from"./yH-KlQxw3Vi4N8.js";import{_ as v}from"./2AZ41aXe85ygF.js";/* empty css              */import"./MpnPZlTSagutd.js";import"./B15kfdAE31Z9ol.js";import"./Nc0jDSlw1t8dnT.js";import"./BfQegiIr3PfrX1.js";const N={class:"app-page app-inbox app-document"},C={class:"app-page-header"},U={class:"app-page-body"},B={class:"app-document-content"},L=c({__name:"app-document-contact",setup(T){const p=V(),r=f(()=>p.params.subId),t=y.workspace?.useReactive(r);return(l,o)=>(d(),n("div",N,[u("div",C,[s(v),u("h1",null,_(l.$t("document.titleAccountContact")),1)]),u("div",U,[u("div",B,[e(t)?(d(),n(m,{key:0},[e(t)._type==="contact"?(d(),n(m,{key:0},[s(e(g),{modelValue:e(t).title,"onUpdate:modelValue":o[0]||(o[0]=a=>e(t).title=a),class:"full",title:l.$t("document.labelTitle")},null,8,["modelValue","title"]),s(e(i),{modelValue:e(t).address,"onUpdate:modelValue":o[1]||(o[1]=a=>e(t).address=a),title:l.$t("document.labelAddress"),class:"full",style:{"min-height":"80px"}},null,8,["modelValue","title"]),s(k,{modelValue:e(t).country,"onUpdate:modelValue":o[2]||(o[2]=a=>e(t).country=a),class:"full",title:l.$t("document.labelCountry")},null,8,["modelValue","title"]),s(e(i),{modelValue:e(t).notes,"onUpdate:modelValue":o[3]||(o[3]=a=>e(t).notes=a),title:l.$t("document.labelNotes"),class:"full"},null,8,["modelValue","title"])],64)):b("",!0)],64)):(d(),n(m,{key:1},[$(" This is not a category! ")],64))])])]))}});export{L as default};